/**
 * Copyright(c) 2020 NESENSOR.
 * <p>
 * History:
 * 2019/9/12 0012 15:37 Created by Author_zero
 */
package com.funtl.spring.cloud.alibaba.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * TODO: Must write comments.
 *
 * @author <a href="mailto:Author_zero@nesensor.com">Author_zero</a>
 * @version 1.0 2019/9/12 0012 15:37
 */
@FeignClient(name = "service-provider")
public interface EchoService {
    @GetMapping(value = "/echo/{str}")
    String echo(@PathVariable("str") String str);

    @GetMapping(value = "/lb")
    String lb();
}
